package com.nie.orderfood.repository;

import com.nie.orderfood.entity.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @program: orderfood
 * @description: 订单类dao
 * @author: NieMiao
 * @create: 2018-10-09 16:23
 **/
public interface OrderMasterRepository extends JpaRepository<OrderMaster, String> {
    Page<OrderMaster> findByBuyerOpenid(String openid, Pageable pageable);
}
